package com.lsw.jgyf.ui.fragment;


import com.lsw.jgyf.model.PhoneModel;
import com.lsw.jgyf.model.ScreenModel;
import com.lsw.jgyf.ui.base.presenter.IPresenter;

import java.util.List;

/**
 * Created by lsw on 2017/12/7.
 */

public class HomeFragment2Contract {
    interface View {
        void setData(List<PhoneModel.DataEntity> list, boolean ispage);

        void setScreen(ScreenModel model);

        void RefreshSucceed();

        void RefreshFail();
    }

    interface Presenter extends IPresenter<View> {
        void getData(int page, String name, String brand_id, String min_price, String max_price, String order_by, String is_contract);

        void getScreen();

    }
}
